<div class="page">
	<div class="pageHeader">
		<form id="pagerForm" onsubmit="return navTabSearch(this);" action="__URL__" method="post">
            <input type="hidden" name="pageNum" value="{$_REQUEST.pageNum}"/>
            <input type="hidden" name="numPerPage" value="{$_REQUEST.numPerPage}" />
            <input type="hidden" name="orderField" value="{$_REQUEST.orderField}" />
            <input type="hidden" name="orderDirection" value="{$_REQUEST.orderDirection}" />    
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label>后台用户：</label>
                    <select name="user_id">
                        <option value="0">所有</option>
                        <volist name="user_list" id="vo">
                        <option value="{$key}" <eq name="_REQUEST['user_id']" value="$key" >selected</eq> >{$vo['account']}</option>
                        </volist>
                    </select>
				</li>
				<li>
					<label>模块：</label>
                    <select name="action">
                        <option value="0">所有模块</option>
                        <volist name="node_list[2]" id="vo">
                        <option value="{$key}" <eq name="_REQUEST['action']" value="$key" >selected</eq> >{$vo}</option>
                        </volist>
                    </select>
				</li>
				<li>
					<label>操作：</label>
                    <select name="function">
                        <option value="0">所有操作</option>
                        <volist name="node_list[3]" id="vo">
                        <option value="{$key}" <eq name="_REQUEST['function']" value="$key" >selected</eq> >{$vo}</option>
                        </volist>
                    </select>
				</li>
				<li>
					<label>创建时间</label>
					<input class="date" readonly="true" type="text" name="create_time" value="{$_REQUEST['create_time']}"/>
				</li>
				<li>
					<label>查询关键字：</label>
					<input type="text" name="word" value="{$_REQUEST['word']}"/>
				</li>
			</ul>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
				</ul>
			</div>
		</div>
		</form>
	</div>
	
	<div class="pageContent">
		<div class="panelBar">
		  <ul class="toolBar">
			  <li class="line">line</li>
              <li><a class="delete" href="__URL__/foreverdelete/navTabId/__MODULE__" posttype="string" rel="id" target="selectedTodo" title="确实要删除这些记录吗?"><span>批量删除</span></a></li>
			  <li class="line">line</li>
			  <li><a class="delete" href="__URL__/foreverdelete/id/{id}/navTabId/__MODULE__" target="ajaxTodo" title="你确定要删除吗？" warn="请选择用户"><span>删除</span></a></li>
			  <li class="line">line</li>
              <li><a class="delete" href="__URL__/truncate/navTabId/__MODULE__" target="ajaxTodo" title="你确定要清空所有日志吗？?"><span>清空日志</span></a></li>
			</ul>
		</div>
<div  layouth="116">
		<table class="list" width="100%" >
			<thead>
			<tr>
                <th width="18" class="left"><div title="" class="gridCol">
            <input type="checkbox" class="checkboxCtrl" group="id"></div></th>
				<th {:orderField('id')} width="60">编号</th>
				<th {:orderField('title')}>模块</th>
				<th >操作</th>
				<th {:orderField('author')}>操作员</th>
				<th {:orderField('status')}>ip</th>
				<th {:orderField('level')}>url</th>
				<th {:orderField('create_time')} >时间</th>
				<th >操作</th>
			</tr>
			</thead>
			<tbody>
			<volist id="vo" name="list">
				<tr target="id" rel="{$vo['id']}">
					<td class="left"><div><input type="checkbox" value="{$vo['id']}" name="id"></div></td>
					<td>{$vo['id']}</td>
					<td>{$node_list[2][$vo['action']]}({$vo['action']})</td>
					<td>{$node_list[3][$vo['action']]}{$vo['function']}</td>
					<td>{$user_list[$vo['user_id']]['account']}</td>
					<td>{$vo['ip_address']}</td>
					<td width="500">{$vo['url']}</td>
                    <td>{$vo['create_time']|date="Y-m-d H:i",###}</td>
                    <td>
						<a class="delete" href="__URL__/foreverdelete/id/{$vo.id}/navTabId/__MODULE__" target="ajaxTodo" title="你确定要删除吗？" warn="请选择用户"><span>删除</span></a>
                    </td>
				</tr>
			</volist>
			</tbody>
		</table>
</div>
		<div class="panelBar">
			<div class="pages">
				<span>共{$totalCount}条</span>
			</div>
			<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
		</div>

	</div>
</div>
